package com.blueocean_health.care.management.domain.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.blueocean_health.care.management.common.base.string.StringUtils;

/**
 * 订单查找护工的请求DTO 
 * @author meisanfeng
 */
public class SelectNurseDto {
	@JSONField(name = "startTime")
	private String beginTime;
	private String endTime;
	private String serviceType = "1";
	
	private String serchKey;
	private String searchKey;
	private String sex = "0";
	private String[] nativePlace;

	private String province;

	private String patientSex;
	
	
	private Integer page = 1;
	private Integer pageSize = 10;
	
	private String hospital;
	private String sort;
	private String workStatus;

	private Integer groupId;

	private String checkDate;

	public String getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(String checkDate) {
		this.checkDate = checkDate;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getServiceType() {
		return serviceType;
	}
	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}
	public String getSerchKey() {
		return serchKey;
	}
	public void setSerchKey(String serchKey) {
		this.serchKey = serchKey;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPatientSex() {
		return patientSex;
	}
	public void setPatientSex(String patientSex) {
		this.patientSex = patientSex;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	public String getHospital() {
		return hospital;
	}
	public void setHospital(String hospital) {
		this.hospital = hospital;
	}


	public String getSearchKey() {
		return searchKey;
	}

	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}

	public String[] getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String[] nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getProvince() {
		String result = null;
		if (getNativePlace().length < 1){
			 result = null;
		}else{
            result = getNativePlace()[0];
		}
		return result;
	}

	public void setProvince(String province) {
		province = province;
	}
}